#!/usr/bin/env python
# _*_ coding: utf-8 _*_
"""
author : DELL
project : ApiTestPlatform
date : 2021/11/19
"""

from apitest.utils.common import get_env_ip


# print(shop_host)

class Constant(object):
    xlb_host = get_env_ip('xlb_host')
    shop_host = get_env_ip('shop_host')
    video_host = get_env_ip('video_host')
    xlb_user = get_env_ip('user_login')
    user_pass = get_env_ip('user_pass')

    def video_list_category(self):
        # 获取分类信息
        return self.video_host + r"/video/server/home/list/category/rec/v3?&xlbId=%s&category=%s"


    r'''
    
    https://video-server-api.xiangleba.com.cn/video/server/home/list/category/rec/v3?&xlbId=139268&category=%E7%BE%8E%E9%A3%9F&dtCode=2513022110aef1cd9df526fe8bf7db10
    get
    
    '''
